﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MgSoft.K3Cloud.WebApi.Dto
{
    /// <summary>
    /// 批量保存
    /// </summary>
    public class BatchSaveOutputDto
    {
        public string ErrorCode { get; set; }
        public string IsSuccess { get; set; }
        public List<MessageEntity> Errors { get; set; }
        public List<MessageEntity> SuccessEntitys { get; set; }
        public List<MessageEntity> SuccessMessages { get; set; }
        public string MsgCode { get; set; }

    }

    public class MessageEntity
    {
        public string Id { get; set; }
        public string Number { get; set; }
        public string FieldName { get; set; }
        public string Message { get; set; }
        public int DIndex { get; set; }
    }
}
